if(selectedElmt){
	selectedElmt.style.backgroundColor = tmpColor;
}
document.onmouseover=null;
document.onmouseout=null;
document.onmousedown=null;
document.onmouseup=null;
document.onkeydown=null;